let http=require("http");
let server=http.createServer((req,res)=>{
    res.end(`<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
    </head>
    <body>
        <h1>我的网站</h1>
        <p>此网站基于Node开发</p>
    </body>
    </html>`)
})
server.listen(3000)